package com.rd.student.wulian.wanggaobo.day0803;

public class Cat extends Animal {
    private String eyesColor;

    public Cat(String name, String eyesColor) {
        super(name);
        this.eyesColor = eyesColor;
    }

    @Override
    public void enjoy() {
        System.out.println(name + "笑一笑");
    }

    @Override
    public void voice() {
        System.out.println("喵喵");
    }
}
